﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HamcoWcs.Models.LcdInfos
{
    public class StockerPlanInfo
    {
        public string Size { get; set; }
        public int PlanQty { get; set; }
        public int InputQty { get; set; }
        public int CurrentQty { get; set; }

        public int NeedQty => PlanQty - CurrentQty;

        public static Dictionary<string, Dictionary<string, StockerPlanInfo>> StockerPlanDic = new Dictionary<string, Dictionary<string, StockerPlanInfo>>()
        {
            { "CJSTW100",new Dictionary<string, StockerPlanInfo>()
                {
                    {"UNK",new StockerPlanInfo() {Size = "UNK"} },
                    {"43",new StockerPlanInfo() {Size = "43"} },
                    {"65",new StockerPlanInfo() {Size = "65"} },
                    {"75",new StockerPlanInfo() {Size = "75"} },
                    {"85",new StockerPlanInfo() {Size = "85"} },
                } 
            },
            { "CJSTW200",new Dictionary<string, StockerPlanInfo>()
                {
                    {"UNK",new StockerPlanInfo() {Size = "UNK"} },
                    {"43",new StockerPlanInfo() {Size = "43"} },
                    {"65",new StockerPlanInfo() {Size = "65"} },
                    {"75",new StockerPlanInfo() {Size = "75"} },
                    {"85",new StockerPlanInfo() {Size = "85"} },
                }
            },
        };

    }
}
